package com.yifeng.repo.tookit.oss.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties(prefix = "yfcloud.toolkit.oss")
public class OssProperties {
    private Boolean enable = false;
    private String url;
    private String appId;
    private String merchantId;
    private String accessToken;
    private String tmpFilePath;

    /**
     * 是否启用admin API接口
     */
    private boolean enableAdminApi = false;

    /**
     * admin API地址前缀
     */
    private String adminApiPrefix = "/oss";
}

